home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util1
/
vmmnfr11.lha
/
VMMInformer1_1
/
Prefs
/
VMMInformer.crazy
next >
Wrap
Text File
|
1995-08-23
|
3KB
|
81 lines
// VMMInformer.prefs DON'T EDIT OR MOVE THIS LINE
BEGIN TASK/WINDOW/DEFAULT
VERSION = 1 // !!! DO NOT EDIT THIS LINE !!!
REVISION = 1 // !!! DO NOT EDIT THIS LINE !!!
PRIORITY = 1
LEFT = 0
TOP = 0
WIDTH = 460
ZOOMED = FALSE
ZOOMED_LEFT = 0
ZOOMED_TOP = 0
BACKFILLCOLOR = 0
TEXTCOLOR = 1
PANELCOLOR = 3
SYNCHRONIZE = TRUE // !!! DON'T EDIT THIS LINE !!!
SECONDS = 0
MICROS = 200000
AUTOSCALE = TRUE
SHIFT = 1
COLOR = 1
EXCEED_COLOR = 7
END
// RPN for calculations
BEGIN VARIABLES
DEFINE VMUsed = VMSize VMFree -
DEFINE VMFreeK = VMFree 1024 /
DEFINE PUBLIC_FAST_FreeK = PUBLIC_FAST_Free 1024 /
DEFINE CHIP_FreeK = CHIP_Free 1024 /
DEFINE Hours = CurrentSeconds 86400 % 3600 /
DEFINE Minutes = CurrentSeconds 86400 % 3600 % 60 /
DEFINE Seconds = CurrentSeconds 60 %
ARRAYPagesWritten = PagesWritten
ARRAYPagesRead = PagesRead
ARRAYFaults = Faults
DEFINE Pages_written_per_update = ARRAYPagesWritten(0) ARRAYPagesWritten(-1) -
DEFINE Pages_read_per_update = ARRAYPagesRead(0) ARRAYPagesRead(-1) -
DEFINE Pagefaults_per_update = ARRAYFaults(0) ARRAYFaults(-1) -
END
BEGIN VARIABLES
TITLE = "Crazy VMMInformer V%1.1ld.%1.1ld, Update every %6ld micros", VERSION, REVISION, MICROS
ZOOMTITLE = "VM: %5ld K, Chip: %4ld K, Fast: %5ld K %2.2ld:%2.2ld:%2.2ld", VMFreeK, CHIP_FreeK, PUBLIC_FAST_FreeK, Hours, Minutes, Seconds
TEXT = "Virtual memory size:", VMSize
TEXT = "Virtual memory free:", VMFree
GRAPHIC = VMFree, 30,,, 5000000, TRUE
TEXT = "Virtual memory used:", VMUsed
TEXT = "Public Fast Mem free:", PUBLIC_FAST_Free
GRAPHIC = PUBLIC_FAST_Free, 30,,, 1000000, TRUE
TEXT = " Chip Mem free:", CHIP_Free
GRAPHIC = CHIP_Free, 30,,, 1000000, TRUE
TEXT = "Number of pagefaults:", Faults
TEXT = "Number of pages read:", PagesRead
TEXT = "Number of pages written:", PagesWritten
TEXT = "Number of page frames:", NumFrames
TEXT = "Pages used on device:", PagesUsed
TEXT = "PageSize:", PageSize
TEXT = "TrapStructs free:", TrapStructsFree
BAR = 1
TEXT = "Current seconds:", CurrentSeconds
TEXT = "Current micros:", CurrentMicros
GRAPHIC = CurrentMicros, 20,,, 100000, TRUE
TEXT = "Pagesfaults per update:", Pagefaults_per_update
TEXT = "Pages read per update:", Pages_read_per_update
TEXT = "Pages written per update:", Pages_written_per_update
GRAPHIC = Pagefaults_per_update, 30, 2
GRAPHIC = Pages_read_per_update, 40, 2
GRAPHIC = Pages_written_per_update, 50, 2
END